package shiro.authc.sys.entity;

import java.util.Date;

public class Permission
{
	private Long id;

	private Long pid;

	private String name;

	private Short type;

	private Short sort;

	private String url;

	private String permCode;

	private String icon;

	private String description;

	private Short status;

	private Date gmtCreate;

	private Date gmtModified;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getPid()
	{
		return pid;
	}

	public void setPid(Long pid)
	{
		this.pid = pid;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name == null ? null : name.trim();
	}

	public Short getType()
	{
		return type;
	}

	public void setType(Short type)
	{
		this.type = type;
	}

	public Short getSort()
	{
		return sort;
	}

	public void setSort(Short sort)
	{
		this.sort = sort;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url == null ? null : url.trim();
	}

	public String getPermCode()
	{
		return permCode;
	}

	public void setPermCode(String permCode)
	{
		this.permCode = permCode == null ? null : permCode.trim();
	}

	public String getIcon()
	{
		return icon;
	}

	public void setIcon(String icon)
	{
		this.icon = icon == null ? null : icon.trim();
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description == null ? null : description.trim();
	}

	public Short getStatus()
	{
		return status;
	}

	public void setStatus(Short status)
	{
		this.status = status;
	}

	public Date getGmtCreate()
	{
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate)
	{
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified()
	{
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified)
	{
		this.gmtModified = gmtModified;
	}
}